package com.logger;

import java.util.Date;

/**
 * 存储要打印的日志事件
 * Created by chenxunlin01 on 2016/1/16.
 */

public class LogMessage {

    private String threadName;
    private String tag;
    private Date date;
    private Level level;
    private Option option;
    private String message;
    private ThrowableInfo throwableInfo;

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Level getLevel() {
        return level;
    }

    public void setLevel(Level level) {
        this.level = level;
    }

    public Option getOption() {
        return option;
    }

    public void setOption(Option option) {
        this.option = option;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ThrowableInfo getThrowableInfo() {
        return throwableInfo;
    }

    public void setThrowableInfo(ThrowableInfo throwableInfo) {
        this.throwableInfo = throwableInfo;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getThreadName() {
        return threadName;
    }

    public void setThreadName(String threadName) {
        this.threadName = threadName;
    }
}

